<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <button onclick="yc()">移除</button>
</body>
<script src="/assets/js/jquery-1.10.2.js"></script>
<script>
    function yc() {
        $a=['1','3'];
        console.log($a);
        $a.splice(jQuery.inArray('1',$a),1);
        console.log($a);
    }
</script>
</html>